import React, { Component } from 'react';
import './index.less';
import loginCover from '../../assets/login_cover.png';
import logo from '../../assets/logo.jpg';
import { hehLocalStorage } from '../../utils/utils';

class Index extends Component {
  constructor(props) {
    super(props);
    this.state = {};
  }

  componentDidMount() {
    localStorage.clear();
  }

  componentWillUnmount() {}

  render() {
    return (
      <div className="container">
        <div className="content">
          <div className="content-left">
            <img src={loginCover} alt="" />
            <div className="content-leftDiv"></div>
          </div>
          <div className="content-right">{this.props.children}</div>
        </div>
      </div>
    );
  }
}

export default Index;
